Skip to content

EventObservable class

Attributes: [EditorBrowsable(EditorBrowsableState.1)]

Defined in

Namespace: ReactiveUI.Binding.Observables Assembly: ReactiveUI.Binding.dll Full name: ReactiveUI.Binding.Observables.EventObservable<T> Modifiers: public sealed

Summary

View source

Platform-agnostic event-based observable for property observation. Collapses Observable.Create + StartWith + DistinctUntilChanged into a single allocation. Used for WPF DependencyProperty observation via DependencyPropertyDescriptor.AddValueChanged and WinForms {PropertyName}Changed event observation.

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Class hierarchy
classDiagram
class EventObservable~T~
class IObservable~T~ {
    <>
}
IObservable~T~ <|.. EventObservable~T~

Implements: IObservable

Constructors

NameSummary
.ctorInitializes a new instance of the [EventObservable](# class.

Methods

NameSummary
Subscribe
Inherited members